#pragma once

namespace graphs
{

/**
 *	Exception for anything dealing with the VideoRenderer class.
 */
class RenderingException :
	public std::exception
{
public:
	/**
	 * Constructs a new RenderingException exception, with a given error message.
	 *
	 * @param msg the error message to bind to the exception.
	 */
	RenderingException ( const char		*msg );

	/**
	 * Returns the error message bound to the exception.
	 *
	 * @return the error message.
	 */
	const char* what ();

	/**
	 * Releases the exception.
	 */
	~RenderingException ();
};

}